﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CoreShop.Model
{
    /// <summary>
    /// 做法基础表
    /// </summary>
    public partial class corecmsfoodtask
    {
        /// <summary>
        /// 序列
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "id", IsPrimaryKey = true)]
        public Int64 id { get; set; }

        /// <summary>
        /// 品牌id
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "corpId", IsNullable = false)]
        public Int32? corpId { get; set; }

        /// <summary>
        /// 门店id
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "storeId", IsNullable = false)]
        public Int64? storeId { get; set; }

        /// <summary>
        /// 做法分组id
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "taskTypeId", IsNullable = true)]
        public Int64 taskTypeId { get; set; }

        /// <summary>
        /// 做法名称
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "name", IsNullable = false)]
        public String name { get; set; }

        /// <summary>
        /// 加价方式0不加价；1.固定加价；2按重量加价
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "addPriceWay", IsNullable = true)]
        public Int32? addPriceWay { get; set; }

        /// <summary>
        /// 价格
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "price")]
        public Decimal price { get; set; }

        /// <summary>
        /// 是否通用
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "currencyFlag")]
        public Int32 currencyFlag { get; set; }
        /// <summary>
        /// 是否上架
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "onLine", IsNullable = true)]
        public Boolean? onLine { get; set; }

        /// <summary>
        /// 是否共享
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "isShare", IsNullable = true)]
        public Boolean? isShare { get; set; }

        /// <summary>
        /// 拼音简码
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "pinYin", IsNullable = false)]
        public String pinYin { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "isDelete", IsNullable = false)]
        public Boolean? isDelete { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "updateTime", IsNullable = true)]
        public DateTime? updateTime { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "modifyTime", IsNullable = true)]
        public Int64? modifyTime { get; set; }
    }
}
